﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RegulatoryPlatform.Models
{
    public class DeptList
    {
        /// <summary>
        /// 业务ID
        /// </summary>
        public string b_id { get; set; }

        /// <summary>
        /// 科室名称
        /// </summary>
        public string dept_name { get; set; }

        /// <summary>
        /// 科室外部ID
        /// </summary>
        public string dept_outId { get; set; }

        public IList<DocInfo> doctors { get; set; }

        public IList<DeptInfo> childrens { get; set; }
    }

    public class DocInfo
    {
        /// <summary>
        /// 医生ID
        /// </summary>
        public string doc_id { get; set; }

        /// <summary>
        /// 医生名称
        /// </summary>
        public string doc_name { get; set; }

        /// <summary>
        /// 医生外部ID
        /// </summary>
        public string doc_outId { get; set; }
    }

    public class DeptInfo
    {
        /// <summary>
        /// 科室ID
        /// </summary>
        public string dept_id { get; set; }

        /// <summary>
        /// 科室名称
        /// </summary>
        public string dept_name { get; set; }

        /// <summary>
        /// 科室外部ID
        /// </summary>
        public string dept_outId { get; set; }

        public IList<DocInfo> doctors { get; set; }

    }
}